package com.manage.platform.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 成果审批表
 * </p>
 */
@Data
@Accessors(chain = true)
@TableName("t_task_achieve")
public class TaskAchieveEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 成果ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    @Schema(description = "成果ID")
    private Long id;

    /**
     * 创建人ID
     */
    @Schema(description = "创建人ID")
    private Long userId;

    /**
     * 任务ID
     */
    @Schema(description = "任务ID")
    private Long taskId;

    /**
     * 成果名称
     */
    @Schema(description = "成果名称")
    private String name;

    /**
     * 成果日期
     */
    @Schema(description = "成果日期")
    private String achieveDate;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    private String createTime;

    /**
     * 更新时间
     */
    @Schema(description = "更新时间")
    private String updateTime;

    /**
     * 是否删除(0=否,1=是)
     */
    @Schema(description = "是否删除(0=否,1=是)")
    @TableLogic
    private Boolean isDeleted;
}
